

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in UtilityAssetXMissionStructureEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, February 07, 2009</remarks>
	public sealed partial class UtilityAssetXMissionStructureEntity
	{
		
	#region " Collections "

	// FK_tb_Vendor_InspVisit_XMissionStructures_tb_Utility_Asset_XMissionStructures : False
	// FK_tb_Utility_Asset_XMissionStructures_tb_Utility_Asset_XMissionStructures : False
	// FK_tb_Utility_Asset_XMissionStructures_tb_Utility_Contacts : False
	// FK_tb_Utility_Asset_XMissionStructures_tb_XMissionStructures_TopTypes : False
	// FK_Utility_Asset_XMissionStructureId_tb_Utility_Asset_XMissionStructures : True
	// FK_tb_Utility_Asset_XMissionStructures_Images_tb_Utility_Asset_XMissionStructures : True
	// FK_tb_Utility_QueryAssets_Cross_Assets_tb_Utility_Asset_XMissionStructures : False
	// FK_tb_Vendor_Visit_XMissionStructures_tb_Utility_Asset_XMissionStructures : False

	#region Collection Property: UtilityAssetXMissionStructuresPoleCollection
	
		/// <summary>
		/// Stores a collection of UtilityAssetXMissionStructuresPole Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresPoleEntity> prop_UtilityAssetXMissionStructuresPoleCollection;
		
		/// <summary>
        /// Gets or Sets the collection of UtilityAssetXMissionStructuresPole Entities associated with this UtilityAssetXMissionStructureEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the UtilityAssetXMissionStructuresPoles table
		/// that are associated with the row in the UtilityAssetXMissionStructures table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Utility_Asset_XMissionStructures.Utility_Asset_XMissionStructureId) to
		/// many (tb_Utility_Asset_XMissionStructures_Poles.Utility_Asset_XMissionStructureFK)", where:</para><para>
		/// PrimaryTable = tb_Utility_Asset_XMissionStructures<para></para>
		/// PrimaryTableKey = Utility_Asset_XMissionStructureId<para></para>
		/// ForeignTable = tb_Utility_Asset_XMissionStructures_Poles<para></para>
		/// ForeignTableKey = Utility_Asset_XMissionStructureFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about UtilityAssetXMissionStructureEntity.
		/// Since the Entities can be of any type, this gives the UtilityAssetXMissionStructureEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.UtilityAssetXMissionStructuresPoleEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresPoleEntity>   UtilityAssetXMissionStructuresPoleCollection
		{
			get {return prop_UtilityAssetXMissionStructuresPoleCollection;}
			set {prop_UtilityAssetXMissionStructuresPoleCollection = value;}
		}

	#endregion
	#region Collection Property: UtilityAssetXMissionStructuresImageCollection
	
		/// <summary>
		/// Stores a collection of UtilityAssetXMissionStructuresImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresImageEntity> prop_UtilityAssetXMissionStructuresImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of UtilityAssetXMissionStructuresImage Entities associated with this UtilityAssetXMissionStructureEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the UtilityAssetXMissionStructuresImages table
		/// that are associated with the row in the UtilityAssetXMissionStructures table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Utility_Asset_XMissionStructures.Utility_Asset_XMissionStructureId) to
		/// many (tb_Utility_Asset_XMissionStructures_Images.Utility_Asset_XMissionStructureFK)", where:</para><para>
		/// PrimaryTable = tb_Utility_Asset_XMissionStructures<para></para>
		/// PrimaryTableKey = Utility_Asset_XMissionStructureId<para></para>
		/// ForeignTable = tb_Utility_Asset_XMissionStructures_Images<para></para>
		/// ForeignTableKey = Utility_Asset_XMissionStructureFK</para>
		/// <para>The Entities are used to obtain additional or supporting information about UtilityAssetXMissionStructureEntity.
		/// Since the Entities can be of any type, this gives the UtilityAssetXMissionStructureEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.UtilityAssetXMissionStructuresImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.UtilityAssetXMissionStructuresImageEntity>   UtilityAssetXMissionStructuresImageCollection
		{
			get {return prop_UtilityAssetXMissionStructuresImageCollection;}
			set {prop_UtilityAssetXMissionStructuresImageCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
